package com.mspbots.api.client;

import org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerExchangeFilterFunction;
import org.springframework.stereotype.Service;
import org.springframework.web.reactive.function.client.WebClient;

/**
 * com.mspbots.api.client.WiseClient
 *
 * @date Created by 2019/11/12
 */
@Service
public class AttendanceClient extends AbstractClient {

    protected AttendanceClient(WebClient.Builder builder,
                               LoadBalancerExchangeFilterFunction lbFunction) {
        super(builder.baseUrl("http://mspbots-attendance")
                .filter(lbFunction)
                .build());
    }


}
